Release 10.1A: OpenEdge Development:
Progress 4GL Reference
DATA-TYPE attribute
A character value that represents the data type of the field associated with the widget. For example, the DATA-TYPE attribute of a slider widget always returns the value "INTEGER" because slider widgets can only represent integers.
Data type: CHARACTER Access: Readable/Writeable Applies to: BROWSE widget (column), Buffer-field object handle, COMBO-BOX widget, EDITOR widget, FILL-IN widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widgetThis attribute is writeable for combo-boxes (only before realization), fill-ins, and text widgets only. For combo-boxes, writing to this attribute makes the drop-down list empty.
You must define this attribute as “CHARACTER” for SIMPLE and DROP-DOWN combo-boxes.
For widgets like image or rectangle, where a data type has no meaning, the attribute returns "UNKNOWN".
The DATA-TYPE attribute is only writable for dynamic fill-ins before they are realized. This attribute is read only for static fill-ins.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |